package com.itany.book.controller;

import redis.clients.jedis.Jedis;

/**
 * Author:yaozhiyuan0117@163.com
 * Time:2019/12/28 12:33
 * Describe:
 * version:1.0
 */
public class Test {

    public static void main(String[] args) {
        Jedis jedis = new Jedis("127.0.0.1",6379);
        jedis.set("name","yzy");
        System.out.println(jedis.get("name"));

    }
}
